<?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">   
    <f:view>    
        <h:head>
            <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
            <script src="resources/js/index.js" type="text/javascript"></script>
        </h:head>
        <h:body>
            <p:layout fullPage="true" id="layout">  
                <p:layoutUnit position="north" size="200" > 
                    <p:layout>
                        <p:layoutUnit position="center" size="80">  
                            <h:form>
                                <p:commandButton value="Logar" icon="ui-icon-extlink" actionListener="#{UsuarioController.viewLogar}" />  
                            </h:form>
                            
                        </p:layoutUnit>  
                        <p:layoutUnit position="south" size="120" closable="true" collapsible="true" resizable="false" style="padding: 0px;">  
                            <p:layout>
                                <p:layoutUnit position="center" style="border: 0px;">  
                                    <h:form id="menu_form">
                                        <p:tabMenu activeIndex="0">  
                                            <p:menuitem value="Home" url="/" icon="ui-icon-home"/>  
                                            <p:menuitem value="Consulta Geral" url="/ui/tabMenu.jsf" icon="ui-icon-star"/>  
                                            <p:menuitem value="Consulta Protocolo" url="consultaProtocolo.xhtml" icon="ui-icon-search" />  
                                            <p:menuitem value="Consulta Estatísticas" url="/ui/tabMenuDocumentation.jsf" icon="ui-icon-document"/>  
                                            <p:menuitem value="Minha Localização"   onclick="findMe();" icon="ui-icon-person" />  
                                        </p:tabMenu>  
                                    </h:form>
                                </p:layoutUnit>
                                <p:layoutUnit position="south" style="border: 0px;">  
                                    <ui:insert name="filtros"></ui:insert>
                                </p:layoutUnit>
                            </p:layout>
                        </p:layoutUnit>  
                    </p:layout>
                </p:layoutUnit>  
                <p:layoutUnit position="center">  
                    <ui:insert name="content">
                    </ui:insert>
                </p:layoutUnit>
            </p:layout>                 
        </h:body>
    </f:view>
</html>